<template>
	<div class="easy-block-component">
		<div class="title">{{title}}</div>
		<div class="container">
			<slot></slot>
		</div>
	</div>
</template>

<script setup>
const props = defineProps({
	title:{
		type:String,
		default:''
	}
})
</script>

<style scoped lang="scss">
.easy-block-component{
	width: 100%;
	height: 100%;
	background: rgba(6,48,109,.5);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	&>.title{
		font-size: .4em;
		flex-shrink: 0;
		text-align: center;
		padding: .6em 0;
		color: white;
	}
	&>.container{
		flex-grow: 1;
		height: 1px;
		overflow: hidden;
		background: #032259;
		border-radius: .15em .15em 0 0;
	}
}
</style>